package com.csdn.swaggershirojwtredis.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 灯状态信息实体类
 *
 * @author 张川
 * @since 2019-05-17 21:48:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value="灯状态信息")
public class Lampstate implements Serializable {
    private static final long serialVersionUID = -32988817410766966L;

    public Lampstate(Integer id){
     this.id = id;
    }

    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    @ApiModelProperty(value = "灯的信息id")
    private Lamp lampId;
    @ApiModelProperty(value = "开关状态")
    private String state;
    @ApiModelProperty(value = "时间")
    private String time;



}
